package com.neusoft.neuiotms.dcam.fixed.model.enums;

import lombok.Getter;

@Getter
public enum MaintenanceChangeStatus {
    created("created", "已创建"),
    confirmed("confirmed", "已确认"),
    finish("finish", "已完成");

    private final String code;
    private final String desc;

    private MaintenanceChangeStatus(final String code, final String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return this.code + ":" + this.desc;
    }
}
